<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019/4/4
  Time: 10:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Markdown Demo</title>
    <link rel="stylesheet" href="/static/dist/css/zui.min.css">
    <link rel="stylesheet" href="/static/dist/theme/blue.css">
    <link rel="stylesheet" href="/static/css/app.css">
    <link rel="stylesheet" href="/static/markdown/css/editormd.css" />
    <script src="/static/js/jquery.min.js"></script>
</head>
<body>
    <div id="layout">
        <header>
            <h1>Simple example</h1>
        </header>
        <div id="test-editormd">
                    <textarea style="display:none;"></textarea>
        </div>
    </div>

    <script src="/static/markdown/editormd.min.js"></script>
    <script type="text/javascript">
        var testEditor;

        $(function() {
            testEditor = editormd("test-editormd", {
                width   : "90%",
                height  : 640,
                syncScrolling : "single",
                path    : "/static/markdown/lib/"
            });
        });
    </script>
</body>
</html>
